Inside Macintosh: Files

Previous | Chapter Top | Chapter Contents | Next

File System Specification Record

The file system specification record for files and directories is defined by the FSSpec data type.

TYPE FSSpec     =                   {file system specification}
RECORD
    vRefNum:        Integer;        {volume reference number}
    parID:          LongInt;        {directory ID of parent directory}
    name:           Str63;          {filename or directory name}
END;
vRefNum
The volume reference number of the volume containing the specified file or directory.
parID
The directory ID of the directory containing the specified file or directory.
name
The name of the specified file or directory.

© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next